package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.DataDirectcheckDao;
import io.renren.entity.DataDirectcheckEntity;
import io.renren.service.DataDirectcheckService;



@Service("dataDirectcheckService")
public class DataDirectcheckServiceImpl implements DataDirectcheckService {
	@Autowired
	private DataDirectcheckDao dataDirectcheckDao;
	
	@Override
	public DataDirectcheckEntity queryObject(String id){
		return dataDirectcheckDao.queryObject(id);
	}
	
	@Override
	public List<DataDirectcheckEntity> queryList(Map<String, Object> map){
		return dataDirectcheckDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return dataDirectcheckDao.queryTotal(map);
	}
	
	@Override
	public void save(DataDirectcheckEntity dataDirectcheck){
		dataDirectcheckDao.save(dataDirectcheck);
	}
	
	@Override
	public void update(DataDirectcheckEntity dataDirectcheck){
		dataDirectcheckDao.update(dataDirectcheck);
	}
	
	@Override
	public void delete(String id){
		dataDirectcheckDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		dataDirectcheckDao.deleteBatch(ids);
	}

	@Override
	public void deleteByMonth(String month) {
		// TODO Auto-generated method stub
		dataDirectcheckDao.deleteByMonth(month);
	}
	
}
